import mongoose  from "mongoose";
const schema =new mongoose.Schema({
    typename:{
        type:String,
        unique:true
    },
    color:{
        type:String
    }
})

export const typeModal =mongoose.model("types",schema)